package tech.runchen.gz5055.oms.modules.system.service;

import tech.runchen.gz5055.oms.common.utils.PageInfo;
import tech.runchen.gz5055.oms.common.utils.poi.head.ImportBarcodeExcel;
import tech.runchen.gz5055.oms.modules.system.entity.BarcodeEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品标签条码表 服务类
 * </p>
 *
 * @author zzj
 * @since 2023-10-19
 */
public interface IBarcodeService extends IExcelImportService<BarcodeEntity, ImportBarcodeExcel> {

    PageInfo queryPage(Map<String, Object> params);

    PageInfo queryUseReportList(Map<String, Object> params);

    List<BarcodeEntity> querySelect(Map<String, Object> params);

    BarcodeEntity queryInfoByCode(String code);

    BarcodeEntity queryInfoByBarcodeId(String barcodeId);

    boolean saveBarcode(BarcodeEntity barcode);

    boolean updateBarcode(BarcodeEntity barcode);

    void deleteBarcode(Long barcodeId);
}
